import type { RouterRecord } from "~/global/record/RouterRecord";
import type { ApiDataRecord } from "~/global/record/ApiRecord";


// 获取路由
export function getRoutersApi(): Promise<ApiDataRecord<RouterRecord[]>> {
  return request({
    url: '/getRouters',
    method: 'get'
  })
}